package com.dhcc.cdc.sys.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.cdc.sys.entity.DictionaryEntity;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 系统字典
 * 
 * @ClassName: DictionaryMapper
 * @Description: TODO
 * @author jumper
 * @date 2021-04-16 17:11:56
 */
public interface DictionaryMapper  extends BaseMapper<DictionaryEntity> {
	
    List<DictionaryEntity> list(@Param("map")Map<String, Object> map);
    List<DictionaryEntity> page(@Param("page") Page<DictionaryEntity> page,@Param("map")Map<String, Object> map);

    List<Long> selectMatchIds(@Param("map") Map<String, Object> map);

    List<DictionaryEntity> pageExcludeMatch(@Param("page")Page<DictionaryEntity> page, @Param("map")Map<String, Object> params, @Param("matchIds")List<Long> matchIds);

    List<Long> selectMatchDicsub();

    String getTimeCode(@Param("fitemId") Long fitemId);
}
